package com.dwyinyuan.domain.aggregate_file.service;

import java.io.*;


/**
 * 微信公众号：笛舞音缘
 * <p>
 * 文件上传服务接口
 * <p>
 * Created by andy  on 2020-12-16.
 */
public interface FileService {

    /**
     * 文件上传
     *
     * @param inputStream
     * @param filename
     */
    void upload(InputStream inputStream, String filename);

    /**
     * 文件上传
     *
     * @param file
     */
    void upload(File file);

}
